package it.kion.util.ui.ulog2.views.listeners;

import it.kion.util.ui.ulog2.views.actions.ShowDetailAction;

import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.MouseListener;

public abstract class IMouseListener implements MouseListener {

	private ShowDetailAction sda;
	
	public IMouseListener(ShowDetailAction sda) {
		this.sda = sda;
	}

	public abstract void mouseDoubleClick(MouseEvent mouseevent);

	public void mouseDown(MouseEvent mouseevent) {}

	public void mouseUp(MouseEvent mouseevent) {}
	
	protected ShowDetailAction getShowDetailAction() {
		return sda;
	}
	
}